#pragma once

#include "ItemInstance.h"
#include <vector>
#include <cstdint>


struct InventoryDef
{

};

class Inventory
{
public:
	Inventory();

	void addItem(Item* item, uint32_t count = 1);
	void removeItem(Item* item, uint32_t count = 1);
	bool hasItem(Item* item) const;
protected:
	typedef std::vector<ItemInstance> ItemsArray;
	ItemsArray::iterator findItem(Item * item);
	ItemsArray::const_iterator findItem(Item * item) const;

	ItemsArray _items;
};